#ifndef CFIGURE_H
#define CFIGURE_H

#include <QObject>
#include <QWidget>

class CFigure
{
public:
    CFigure();
    ~CFigure();
    void setXY(int x, int y);
    void setWH(int w, int y);
    void setStart(int x, int y);
    void setEnd(int x, int y);
    void drawFigure(QPainter *painter);
    int x,y,w,h;
    int sx,sy,ex,ey;
};

#endif // CFIGURE_H
